#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

#define ROW 9
#define COL 9

#define ROWS ROW+2
#define COLS COL+2

#define EASY_COUNT 10

void init_board(char arr[ROWS][COLS], int row, int col, char set);

void show_board(char arr[ROWS][COLS], int row, int col);

void set_mine(char arr[ROWS][COLS], int row, int col,int num);

void find_mine(char mine[ROWS][COLS], char show[ROWS][COLS], int row, int col);

char get_mine_count(char mine[ROWS][COLS], int x, int y);